package com.school.information.enums.result;

import com.school.information.core.IResultStatus;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ModuleResultEnum implements IResultStatus {
    ADD_MODULE_INFO_FAIL(40500, "新增模块信息失败"),
    MODULE_INFO_NAME_EXISTS(40501, "模块信息名称已存在"),
    UPDATE_MODULE_INFO_FAIL(40502, "更新模块信息失败"),
    DEL_MODULE_INFO_FAIL(40503, "删除模块信息失败"),

    ADD_MODULE_LABEL_FAIL(40504, "新增模块标签信息失败"),

    MODULE_LABEL_NAME_EXISTS(40505, "模块标签名称已存在"),

    UPDATE_MODULE_LABEL_FAIL(40506, "更新模块标签信息失败"),
    DEL_MODULE_LABEL_FAIL(40507, "删除模块标签信息失败"),
    ;

    private Integer code;
    private String msg;
}
